#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QLineEdit>
#include <QEvent>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    bool        eventFilter(QObject *obj, QEvent *event);

public slots:
    void        showTipsAtUp();
    void        showTipsAtDown();
    void        showTipsAtLeft();
    void        showTipsAtRight();

private:
    QLineEdit * _lineEdit;
};
#endif // WIDGET_H
